QT += core

CONFIG += c++11 plugin

win32 {
	CONFIG += skip_target_version_ext
}

DEFINES += QT_DEPRECATED_WARNINGS

sourceDir = $${PWD}/..
proRootDir = $${sourceDir}/..

proIncludePath = $${proRootDir}/include
binDir = $${proRootDir}/bin

DESTDIR = $${OUT_PWD}/../../../install/plugin

MOC_DIR = $${OUT_PWD}/../../BuildTemp/moc
UI_DIR = $${OUT_PWD}/../../BuildTemp/ui
RCC_DIR = $${OUT_PWD}/../../BuildTemp/rcc
OBJECTS_DIR = $${OUT_PWD}/../../BuildTemp/object

INCLUDEPATH += $${proIncludePath}

win32 {
	sourceDir          = $$replace(sourceDir, /, \\)
	proRootDir         = $$replace(proRootDir, /, \\)
	binDir             = $$replace(binDir, /, \\)
	proIncludePath     = $$replace(proIncludePath, /, \\)

	DESTDIR     = $$replace(DESTDIR, /, \\)
	MOC_DIR     = $$replace(MOC_DIR, /, \\)
	UI_DIR      = $$replace(UI_DIR, /, \\)
	RCC_DIR     = $$replace(RCC_DIR, /, \\)
	OBJECTS_DIR = $$replace(OBJECTS_DIR, /, \\)
	INCLUDEPATH = $$replace(INCLUDEPATH, /, \\)
}
